-
Notifications
You must be signed in to change notification settings - Fork 27
releng: Bundle java runtime in Trace Compass RCP product packages #220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
5a93711 to
e4667d7
Compare
| <repository location="https://download.eclipse.org/justj/jres/17/updates/release/17.0.14/"/> | ||
| <unit id="org.eclipse.justj.openjdk.hotspot.jre.minimal.stripped.feature.group" version="0.0.0"/> | ||
| </location> | ||
| <location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
double copy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
| @@ -1,6 +1,10 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?><?pde version="3.8"?><target name="tracecompass-e4.31" sequenceNumber="6"> | |||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?><?pde version="3.8"?><target name="tracecompass-e4.31" sequenceNumber="8"> | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
| @@ -1,6 +1,10 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?><?pde version="3.8"?><target name="tracecompass-e4.33" sequenceNumber="4"> | |||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?><?pde version="3.8"?><target name="tracecompass-e4.33" sequenceNumber="7"> | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
| @@ -1,6 +1,14 @@ | |||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?><?pde version="3.8"?><target name="tracecompass-e4.34" sequenceNumber="5"> | |||
| <?xml version="1.0" encoding="UTF-8" standalone="no"?><?pde version="3.8"?><target name="tracecompass-e4.34" sequenceNumber="7"> | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Update target files to include JustJ JREs https://eclipse.dev/justj/ with respective version for that release. Use latest available JRE version for respective major version. This will make it easier for end-users to use Trace Compass because Java doesn't need to be installed separately and it will include the correct, required version. Notes: - The stripped version of the JRE is used with debug information stripped and excluding the src.jar with sources used only for debugging. This minimizes the size of the JRE package because it's less than 1/2 the size of the corresponding full version. If you'd like to debug the RCP (e.g. using remote debugging), use a separated JVM as described below. - To run the RCP with a different JVM (e.g. installed on user's laptop), open the tracecompass.ini file and modify the path settings for -vm. Or remove it completely then the default JRE of the computer is used. Signed-off-by: Bernd Hufmann <[email protected]>
e4667d7 to
9b318a3
Compare
What it does
Bundle JustJ JVM inside the Trace Compass RCP packages.
Update target files to include JustJ JREs with respective version for that release. Use latest available JRE version for respective major version.
This will make it easier for end-users to use Trace Compass because Java doesn't need to be installed separately and it will include the correct, required version.
Notes:
tracecompass.inifile and modify the path stettings for-vm. Or remove it completely then the default JRE of the computer is used.How to test
Build and run the RCP. Check in configuration (
Help -> About... -> Installation Details -> Configuration) the bundled JRE is used.Follow-ups
N/A
Review checklist